{% extends "base.html" %}

{% block title %}欢迎进入{% endblock %}

{% block main %}

  <div id="serverRelationshioAdd" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="myModalLabel">找妹子</h3>
        </div>
        <div class="modal-body">
            <div class="alert alert-error  hide fade in">
                <button type="button" class="close" data-dismiss="alert">×</button>
    
            <p id="error"></p>
            </div>


            <form class="form-horizontal" method="post">
                <fieldset>

                    <textarea rows="10" style="width:95%" placeholder="放个妹子进来"></textarea>

                </fieldset>

        </div>
        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
            <input class="btn btn-primary" type="submit" value="保存">
        </div>
        </form>
    </div>

 
    <div class="container"> 

 
      <!-- Main hero unit for a primary marketing message or call to action --> 
      <div class="hero-unit"> 
        <h2>欢迎进入CPIS-OPT saltstack 自动化平台!</h2>
        <p>CPIS 运维自动化 从这里开始啦！</p> 
        <p><a class="btn btn-primary btn-large" href="#serverRelationshioAdd"   data-toggle="modal"> 联系CPIS运维 &raquo;</a></p> 
      </div> 
 
      <!-- Example row of columns --> 
      <div class="row"> 
        <div class="span4"> 
          <h2>自动化平台介绍</h2> 
           <p> CPIS saltstack 自动化平台核心是基于saltstack开源软件实现自动化管理与配置，后台是用python一个小型web框架Flkask编写的 ，前端页面是基于bootstrap进行显示的</p>
          <p><a class="btn" href="http://saltstack.com/"> Saltstack官网 &raquo;</a></p> 
          <p><a class="btn" href="http://flask.pocoo.org/">Flask框架官网 &raquo;</a></p> 
          <p><a class="btn" href="http://www.bootcss.com/">bootstrap官网&raquo;</a></p> 
        </div> 
        <div class="span4"> 
          <h2>自动化平台部署</h2> 
          <h4> <p> yum 安装</p></h4>
          <p> yum install salt-minion -y</p>
          <p> sed -i 's/^#master/master:IP/g' /etc/salt/minion </p>
<!--
           <h4> <p> 离线 安装</p></h4>      
          <p> tar fxz CPIS-Salt-minion.tar.gz && cd CPIS-Salt-minion && sh install.sh && sed -i 's/^#master/master:IP/g' /etc/salt/minion</p>
-->
          <p><a class="btn btn-warning" href="http://dl.cpis-opt.com/huanw/shencan/epel-release-5-4.noarch.rpm">CPIS-EPEL &raquo;</a></p> 
          <p><a class="btn btn-warning" href="http://111.1.32.153:/huanw/shencan/File/CPIS-Salt-minion.tar.gz">CPIS-Salt-minion &raquo;</a></p> 
       </div> 
        <div class="span4"> 
          <h2>自动化平台使用</h2> 
          <p>自动化平台分为自动化运维和自动化服务部署2大块, 自动化运维 主要针对设备信息查询 基本状态确定等查询为主。自动化服务部署 主要是修改设备核心配置与设备服务配置调整 </p>

          <p><a class="btn btn-large btn-primary" href="http://112.25.34.10:60000/sc1/">CPIS saltstack 运维自动化&raquo;</a></p> 
          <p><a class="btn btn-large btn-primary" href="http://112.25.34.10:60000/sc/">CPIS saltstack 配置自动化&raquo;</a></p> 
        </div> 
      </div> 
 
      <hr> 
 
      <footer> 
        <p>&copy; Company 2013 CPIS-OPT</p> 
      </footer> 
 
    </div> <!-- /container --> 
 
{% endblock %}
